import Vue from 'vue';
import Router from 'vue-router';
import Goods from '../components/goods/goods';
import Ratings from '../components/ratings/ratings';
import Seller from '../components/seller/seller';

Vue.use(Router);

const routes = [
	{path:'/goods',component:Goods},
	{path:'/ratings',component:Ratings},
	{path:'/seller',component:Seller}
];

const router = new Router({
	// mode:"history",
	routes,
	linkActiveClass:'active'
});

router.push('/goods');

export default router;

